package org.nado.web;

import javax.inject.Inject;

import org.nado.worldcup.WorldcupService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller("worldcupController")
@RequestMapping(value = "/worldcup/*")
public class WorldcupController {

	private static final Logger logger = LoggerFactory
			.getLogger(WorldcupController.class);

	@Inject
	WorldcupService service;

	@RequestMapping(value = "/", method = RequestMethod.GET)
	public String getIndex() {

		logger.info("getIndex.........");

		return "worldcup/worldcup";

	}

}
